package com.qingke.java.test0830;

public abstract class Staff {
	private String name;
	private int id;
	
	public Staff(String name, int id) {
		this.name = name;
		this.id = id;
	}
	
	protected String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public abstract void working();
}
